
<style lang="scss">
@import 'uview-ui/index.scss';
</style>
<script>
import { checkForUpdate, appEnv } from './common/utils'

export default {
  onLaunch: function (option) {
    console.log('App Launch')
    console.log(option)
    if (option.query.test) {
      appEnv.useTest()
    }
  },
  onShow: function () {
    console.log('App Show')
    checkForUpdate()
  },
  onHide: function () {
    console.log('App Hide')
  }
}
</script>

